Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[services] Add cloudprofile.agent role to service accounts in terraform #13978

Merged
merged 3 commits into from
Nov 13, 2023

Conversation

jigold
Copy link
Contributor

@jigold jigold commented Nov 6, 2023

No description provided.

Copy link
Contributor

@daniel-goldstein daniel-goldstein left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Couple nits and a question. Let me know if you need anything to apply these changes. This is a purely additive change so I'd rather apply it before merging so we know it's correct.

@@ -507,7 +510,10 @@ resource "google_storage_bucket_iam_member" "testns_batch_bucket_admin" {
module "ci_gsa_secret" {
source = "./gsa"
name = "ci"
project = var.gcp_project
project = var.gcp_project,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
project = var.gcp_project,
project = var.gcp_project

@@ -487,13 +490,19 @@ resource "google_storage_bucket_iam_member" "testns_batch_bucket_admin" {
module "ci_gsa_secret" {
source = "./gsa_k8s_secret"
name = "ci"
project = var.gcp_project
project = var.gcp_project,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
project = var.gcp_project,
project = var.gcp_project

}

module "testns_ci_gsa_secret" {
source = "./gsa_k8s_secret"
name = "testns-ci"
project = var.gcp_project
project = var.gcp_project,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
project = var.gcp_project,
project = var.gcp_project

@@ -458,6 +458,7 @@ module "auth_gsa_secret" {
iam_roles = [
"iam.serviceAccountAdmin",
"iam.serviceAccountKeyAdmin",
"cloudprofile.agent"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This also needs to be on the test auth account, right?

@jigold
Copy link
Contributor Author

jigold commented Nov 7, 2023

I'm not sure how to apply it anymore. Can we do it together on zoom at some point this week?

@daniel-goldstein
Copy link
Contributor

Sure thing! Maybe thursday afternoon at some point? Feel free to grab something on my calendar.

@danking danking merged commit 21c6a40 into hail-is:main Nov 13, 2023
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants